package com.hitales.ma.jvmdemo.classloader;

public class ClassLoaderDemo {
    public static void main(String[] args) {
        ClassLoader cl = ClassLoaderDemo.class.getClassLoader();
        System.out.println("Application ClassLoader: " + cl);
        System.out.println("Parent ClassLoader: " + cl.getParent());
        System.out.println("Grandparent ClassLoader: " + cl.getParent().getParent());
    }
}

